package com.srit.recipes.dao;

import com.srit.recipes.common.parent.ParentDao;
import com.srit.recipes.entity.NutritionStandard;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import javax.persistence.*;
import java.util.List;


public interface NutritionStandardDao extends ParentDao<NutritionStandard, Long> {


    NutritionStandard findByRYXLAndType(String ryxl, int type);

    Page<NutritionStandard> findAllByType(int type, Pageable pageable);






}
